package com.todo.sight.application.iface.frontend;

import com.todo.common.common.entity.response.BizResponse;
import com.todo.sight.application.iface.frontend.request.QueryCityInfoByNameParam;
import com.todo.sight.application.iface.frontend.request.QueryCityDetailParam;
import com.todo.sight.application.iface.frontend.request.QueryCityInfoByNameParam;
import com.todo.sight.application.iface.frontend.request.QueryCityInfoListParam;
import com.todo.sight.application.iface.frontend.response.CityDetailVO;
import com.todo.sight.application.iface.frontend.response.CityInfoVO;

import java.util.List;

/**
 * @author azhebuxing
 * @date 2024/5/8 18:22
 * @description
 */
public interface CityFrontendIface {

    /**
     * 查询城市列表
     *
     * @param param
     * @return
     */
    BizResponse<List<CityInfoVO>> queryCityInfoList(QueryCityInfoListParam param);

    /**
     * 根据主键查询城市详情
     *
     * @param param
     * @return
     */
    BizResponse<CityDetailVO> queryCityDetail(QueryCityDetailParam param);

    /**
     * 根据名称查询城市信息
     *
     * @param param
     * @return
     */
    BizResponse<List<CityInfoVO>> queryCityInfoByName(QueryCityInfoByNameParam param);
}
